package com.cms.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Template{

	private Long id;
	
	private Long idSbj;

	private String name;

	private String content;

	private String creater;
	
	//直接在date类型上加入注解，同时指定格式样式
	@DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
	private Date createtime;// 创建时间
	
	private String dirname;
	
	private String category;
	
	private String keyWord;

	private String staticParameters;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getIdSbj() {
		return idSbj;
	}

	public void setIdSbj(Long idSbj) {
		this.idSbj = idSbj;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getDirname() {
		return dirname;
	}

	public void setDirname(String dirname) {
		this.dirname = dirname;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public String getStaticParameters() {
		return staticParameters;
	}

	public void setStaticParameters(String staticParameters) {
		this.staticParameters = staticParameters;
	}

}
